package goiot.dto;

public class JsonResp<T> {
	private String message;
	private Boolean success;
	private T result;

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Boolean getSuccess() {
		return success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

	public T getResult() {
		return result;
	}

	public void setResult(T result) {
		this.result = result;
	}

	@Override
	public String toString() {
		return super.toString() + " [message=" + message + ", success=" + success + ", result=" + result + "]";
	}
}
